package com.neusoft.service;

import com.neusoft.po.Food;

import java.util.List;

public interface FoodService {

    public List<Food> listFoodByBusinessId(Integer businessId);

//    public Food getFoodByFoodId(Integer foodId);

    int saveFood(Integer businessId, String foodName, String foodExplain, Double foodPrice);
    int updateFood(Integer foodId,Integer businessId, String foodName, String foodExplain, Double foodPrice, String foodImg);
    int removeFood(Integer businessId, Integer foodId);
    Food getById(Integer foodId);
    Food getFoodById(Integer foodId, Integer businessId);
}
